package com.cwx.service;

import com.cwx.pojo.Comment;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cwxstart
 * @create 2022-06-18 22:21
 */
public interface CommentService {

    //根据博客id查找评论  一个博客
    List<Comment> listCommentByBlogId(Long blogId);

    //保存一个博客
    Comment saveComment(Comment comment);

}
